import { createApp } from "vue";
import App from "./App.vue";
import router from "./router/index.js";
import store from "./store/index.js";
import { LoadStyle } from "./utils/utils";
import { fontUrl } from "./utils/constant";
import "./style/index.less";
// import { install } from "./components";
import { directivesInstall } from "./directives";
import "./utils/request.js";
import "element-plus/dist/index.css";
import "./style/theme/element-dark/index.less";

const vue = createApp(App);
LoadStyle(fontUrl);
// vue.use(install);
vue.use(directivesInstall);
vue.use(router).use(store).mount("#app");
